using System;
using Microsoft.Win32.SafeHandles;

namespace NovaCore.Interop.SafeHandles {
	public class CoreHandle : SafeHandleZeroOrMinusOneIsInvalid {
		public CoreHandle() : base(true) { }

		protected override bool ReleaseHandle() {
			Core.NvtlCommon_ReleaseSession(handle);
			return true;
		}
	}
}